/*
 * @Author: 刘岩 15136056318@163.com
 * @Date: 2023-11-03 17:25:57
 * @LastEditors: 刘岩 15136056318@163.com
 * @LastEditTime: 2023-11-17 11:57:39
 * @FilePath: /react-template_pc/src/main.tsx
 * @Description:
 */
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import { HashRouter } from 'react-router-dom'
import { ConfigProvider } from 'antd'
ReactDOM.createRoot(document.getElementById('root')!).render(
  <HashRouter>
    <ConfigProvider
      theme={{
        components: {
          Menu: {
            darkItemSelectedBg: '#2d8cf0',
            darkSubMenuItemBg: '#101118',
            darkItemBg: '#191a23',
          },
        },
      }}
    >
      <App />
    </ConfigProvider>
  </HashRouter>
)
